package cn.dmrliu.edu.publish.bean;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class TrafficKeywords {
    String keyword;
    Integer score;

    public String toJoinString() {
        return "{\n" +
                "    \"name\": \"" + this.keyword + "\",\n" +
                "    \"value\": " + this.score + "\n" +
                "}";
    }
}
